<HTML>
<HEAD>
<TITLE>Changing Pictures</TITLE>
<SCRIPT LANGUAGE="JavaScript">
var timeDelay = 1; 	// change delay time in seconds
var Pix = new Array
("images/CriticalCare.jpg" 
,"images/PMCare.jpg" 
,"images/PrimaryCare.jpg" 
,"images/Insight.jpg" 
);
var howMany = Pix.length;
timeDelay *= 1000;
var PicCurrentNum = 0;
var PicCurrent = new Image();
PicCurrent.src = Pix[PicCurrentNum];
function startPix() {
setInterval("slideshow()", timeDelay);
}
function slideshow() {
PicCurrentNum++;
if (PicCurrentNum == howMany) {
PicCurrentNum = 0;
}
PicCurrent.src = Pix[PicCurrentNum];
document["ChangingPix"].src = PicCurrent.src;
}
</script>
</HEAD>
<BODY OnLoad="startPix()">
<img name="ChangingPix" src="images/Insight.jpg">
</Body>
</html>
